package com.tz.hotelmanager.mapper.impl;

import java.util.List;

import com.tz.hotelmanager.domain.Bill;
import com.tz.hotelmanager.domain.BillExample;
import com.tz.hotelmanager.mapper.BillMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BillMapperImpl implements BillMapper {

  @Autowired 
  BillMapper billMapper;
  
  @Override
  public int countByExample(BillExample example) {
    
    return billMapper.countByExample(example);
  }

  @Override
  public int deleteByExample(BillExample example) {
    
    return billMapper.deleteByExample(example);
  }

  @Override
  public int deleteByPrimaryKey(Integer id) {
    
     return billMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(Bill record) {
    
     return billMapper.insert(record);
  }

  @Override
  public int insertSelective(Bill record) {
    
     return billMapper.insertSelective(record);
  }

  @Override
  public List<Bill> selectByExample(BillExample example) {
    
     return billMapper.selectByExample(example);
  }

  @Override
  public Bill selectByPrimaryKey(Integer id) {
    
     return billMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByExampleSelective(Bill record, BillExample example) {
    
     return billMapper.updateByExampleSelective(record,example);
  }

  @Override
  public int updateByExample(Bill record, BillExample example) {
    
     return billMapper.updateByExample(record,example);
  }

  @Override
  public int updateByPrimaryKeySelective(Bill record) {
    
     return billMapper.updateByPrimaryKeySelective(record);
  }

  @Override
  public int updateByPrimaryKey(Bill record) {
    
     return billMapper.updateByPrimaryKey(record);
  }
  
}